package com.bwie.mapper;

import com.bwie.pojo.po.DepartmentPo;
import com.bwie.pojo.po.DictPo;
import com.bwie.pojo.po.UserPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ 用户
 * @descriptions: UserMapper
 * @author: LiYang
 * @date: 2025/3/14 10:13
 * @version: 1.0
 */
public interface UserMapper {
    UserPo getPhone(@Param("userPhone") String userPhone);

    List<UserPo> getDoctor();

    List<DictPo> getSex();

    List<DepartmentPo> getDep();

    UserPo selectName(@Param("patientName") String patientName);

    void add(UserPo user);
}
